﻿/**********************************************************************/
/*                                                                    */
/*                   embDocumentInhalator                             */
/*             http://embdocumentinhalator.codeplex.com/              */
/*                                                                    */
/*               (c) Copyright 2010 Ilija Injac         .             */
/*                                                                    */
/*  This source is subject to the CDDL License                        */
/*  http://embdocumentinhalator.codeplex.com/license                  */
/*                                                                    */
/*                                                                    */
/**********************************************************************/
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.SharePoint.UserCode;
using Microsoft.SharePoint.Security;
using System.Security.Permissions;
using System.Security;

namespace embSPScanExpert.Proxy
{
    /// <summary>
    /// This are teh SPPRoxOperationArgs for the scanning functions
    /// to be performed by the fulltrusted proxy.
    /// </summary>
    /// This element was inserted by injac on machine PLATINCHECKER.
    /// 29.01.2011,20:51
    [Serializable]
    public class ScannerArgs:SPProxyOperationArgs
    {
        /// <summary>
        /// Gets or sets the content of the image.
        /// </summary>
        /// <value>The content of the image.</value>
        /// This element was inserted by injac on machine PLATINCHECKER.
        /// 29.01.2011,20:52
        public byte[] ImageContent {get;set;}


        /// <summary>
        /// Gets or sets the image format.
        /// </summary>
        /// <value>The image format.</value>
        /// This element was inserted by injac on machine PLATINCHECKER.
        /// 29.01.2011,20:52
        public string ImageFormat { get; set; }

        /// <summary>
        /// Gets or sets the name of the scanner.
        /// </summary>
        /// <value>The name of the scanner.</value>
        /// This element was inserted by injac on machine PLATINCHECKER.
        /// 29.01.2011,20:52
        public string ScannerName { get; set; }

        /// <summary>
        /// Gets or sets the scan resolution.
        /// </summary>
        /// <value>The scan resolution.</value>
        /// This element was inserted by injac on machine PLATINCHECKER.
        /// 29.01.2011,20:52
        public int ScanResolution { get; set; }

        /// <summary>
        /// Gets or sets the preferred color format.
        /// </summary>
        /// <value>
        /// The preferred color format.
        /// </value>
        public string PreferredColorFormat { get; set; }
       
        public ScannerArgs(string imageFormat,string scannerName,int scanResolution,string preferredScannerFormat)
        {
            this.ImageFormat = imageFormat;
            this.ScannerName = scannerName;
            this.ScanResolution = scanResolution;
            this.PreferredColorFormat = preferredScannerFormat;
        }


        
    }
}
